<?php
session_start();

$_SESSION['dbhost'] = 'engr-db.engr.oregonstate.edu:3307';
$_SESSION['dbname'] = 'funkecd';
$_SESSION['dbuser'] = 'funkecd';
$_SESSION['dbpass'] = 'ktrDtj1b';

$mysql_handle = mysql_connect($_SESSION['dbhost'], $_SESSION['dbuser'], $_SESSION['dbpass'])
    or die("Error connecting to database server");

mysql_select_db($_SESSION['dbname'], $mysql_handle)
    or die("Error selecting database: $dbname");
?>

<html>
<head>

<!--For testing on the iphone simulator!-->
<!--<style type="text/css" media="only screen and (max-width: 480px)">!-->

<!-- Iphone Test !-->
<style type="text/css" media="only screen and (max-device-width: 480px)">
.hide {display:none;}
</style>

<title> Emergency Cesarean Delivery Facilitator</title>
</head>
<body>

<table class= "hide" width="100%" border="0" height="1%" class="horizontalbar">
<tr>
<td bgcolor="blue">
<center><p><h1><font color="white"> <font face="Arial, Helvetica, sans-serif">Emergency Cesarean Delivery Facilitator</p></h1><center></font>
</td>
</tr>
</table>


<table width="100%" border ="0" height="100%">
<tr>

<td class= "hide" width="190" bgcolor="blue" valign="top" class="leftnav">

<a href="index.php?page=SummonTeamInput.php"> 
<font color="white" face="Arial, Helvetica, sans-serif">Summon Team</a><hr/></font>

<a href="index.php?page=SummonsInformation.php"> 
<font color="white" face="Arial, Helvetica, sans-serif">Summons Information</a><hr/></font>

<a href="index.php?page=team_status.php"> 
<font color="white" face="Arial, Helvetica, sans-serif">Team Status</a><hr/></li></font>

<a href="index.php?page=PatientPrepStatus.php"> 
<font color="white" face="Arial, Helvetica, sans-serif">Patient Checklist</a></li><hr/></white></font>

<a href="index.php?page=PatientMedicalInformation.php">  
<font color="white" face="Arial, Helvetica, sans-serif">Patient Medical Information</a></li><hr/></font>

<a href="index.php?page=ORPrepStatus.php"> 
<font color="white" face="Arial, Helvetica, sans-serif">OR Checklist</a></li><hr/></font>

</td>
<td valign="top">
<br>


<?php 
//This code/page design comes to me through Will Hutchison
//from our cs 362 project
$str = $_GET['page'];
if($str == null) {$str = "SummonTeamInput.php";}
include($str);
?>

